//
//  TieBaModel.m
//  1gene
//
//  Created by 1jiyin on 16/3/14.
//  Copyright © 2016年 1jiyin. All rights reserved.
//

#import "TieBaModel.h"

@implementation TieBaModel

-(instancetype)initWithDictionary:(NSDictionary *)dic
{
    if (self=[super init]) {
        dic=[NSDictionary changeType:dic];
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.unKnowId=value;
    }
    if ([key isEqualToString:@"user_id"]) {
        self.userId=value;
    }
}
@end
